package com.yzs.exam.service;

import com.github.pagehelper.PageInfo;
import com.yzs.exam.entity.Subject;
import com.yzs.exam.viewmodel.admin.education.SubjectPageRequestVM;

import java.util.List;

/**
 * @author yzs
 * @create 2021-03-27 13:15
 */
public interface SubjectService extends BaseService<Subject> {
    List<Subject> getSubjectByLevel(Integer level);

    List<Subject> allSubject();

    Integer levelBySubjectId(Integer id);

    PageInfo<Subject> page(SubjectPageRequestVM requestVM);
}
